<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: 10300
  Date: 2021/10/28
  Time: 22:17
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="UTF-8">
    <title>储值卡升级</title>
    <link type="text/css" rel="stylesheet" href="fontsawesome/css/font-awesome.css"/>
    <link type="text/css" rel="stylesheet" href="css/style.css"/>
    <link type="text/css" rel="stylesheet" href="css/datepicker.css"/>
</head>
<body>
<div class="main_box">
    <div class="cont_box editpro_box">
        <form action="${pageContext.request.contextPath}/updateSJPet_card">
            <input name="pid" value="${idSj.pid}" type="hidden">
            <ul class="addpro_box adduser_box">
                <li>
                    <label>原储值卡：</label>
                    <input type="text" value="${idSj.kind}" readonly/>
                </li>
                <li>
                <li>
                    <label>升级卡种：</label>
                    <select name="kind">
                        <c:if test="${idSj.kind=='青铜存储卡'}">

                            <option value="白银存储卡" name="白银存储卡">白银存储卡</option>
                            <option value="黄金存储卡" name="黄金存储卡">黄金存储卡</option>
                        </c:if>
                        <c:if test="${idSj.kind=='白银存储卡'}">
                            <option value="黄金存储卡" name="黄金存储卡">黄金存储卡</option>
<%--                            <option value="青铜存储卡" name="青铜存储卡">青铜存储卡</option>--%>
                        </c:if>
                        <c:if test="${idSj.kind=='黄金存储卡'}">
                            <option>已是最高卡</option>
                        </c:if>
                    </select>
            </li>
                <li>
                    <label>需补金额：</label>
                    <input type="text" placeholder="请输入需补金额，例：10或10.55" name="money" required data-rule-digits="true" data-msg-required="需补金额不能为空" data-msg-digits="请输入正确的金额"/>
                </li>
                <li>
                    <label>销售人员：</label>

                    <select name="sales">       <c:forEach items="${sessionScope.emp}"  var="emp">
                        <option value="${emp.ename}">${emp.ename}</option></c:forEach>
                        <select>
                </li>
            </ul>
            <div class="probtn_box clearfix">
                <input type="submit" value="确认升级" class="btn blue_btn"/>
            </div>
        </form>
    </div>
</div>
<!--javascript include-->
<script src="js/jquery-2.2.1.min.js"></script>
<script src="js/jquery.dataTables.min.js"></script>
<script src="js/bootstrap-datepicker.js"></script>
<script src="js/jquery.validate.min.js"></script>
<script src="js/jquery.form.min.js"></script>
<script src="js/jquery.cxselect.min.js"></script>
<script src="js/other1.js"></script>
<script>
    $(function(){
        $("body").other({formId:"#pcard_form",formUrl:"#"});//formUrl 表单请求地址,linkHref 请求成功后跳转地址，此页面不需要，已删除
    });
</script>
</body>
</html>
